.class Lcom/example/m6wmr/DishesActivity2$2;
.super Ljava/lang/Object;
.source "DishesActivity2.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/DishesActivity2;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/DishesActivity2;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/DishesActivity2;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    .line 305
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/DishesActivity2$2;)Lcom/example/m6wmr/DishesActivity2;
    .locals 1

    .prologue
    .line 305
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5
    .param p1, "arg0"    # Landroid/view/View;

    .prologue
    const/16 v2, 0x8

    const/4 v4, 0x0

    .line 311
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    iget-object v0, v0, Lcom/example/m6wmr/DishesActivity2;->open:Ljava/lang/String;

    const-string v1, "0"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 312
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    # getter for: Lcom/example/m6wmr/DishesActivity2;->list:Landroid/widget/ListView;
    invoke-static {v0}, Lcom/example/m6wmr/DishesActivity2;->access$22(Lcom/example/m6wmr/DishesActivity2;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setVisibility(I)V

    .line 313
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    # getter for: Lcom/example/m6wmr/DishesActivity2;->context:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/DishesActivity2;->access$2(Lcom/example/m6wmr/DishesActivity2;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u5df2\u6253\u70ca"

    invoke-static {v0, v1, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 362
    :goto_0
    return-void

    .line 318
    :cond_0
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    iget-object v0, v0, Lcom/example/m6wmr/DishesActivity2;->open:Ljava/lang/String;

    const-string v1, "1"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 319
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    # getter for: Lcom/example/m6wmr/DishesActivity2;->list:Landroid/widget/ListView;
    invoke-static {v0}, Lcom/example/m6wmr/DishesActivity2;->access$22(Lcom/example/m6wmr/DishesActivity2;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setVisibility(I)V

    .line 320
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    # getter for: Lcom/example/m6wmr/DishesActivity2;->context:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/DishesActivity2;->access$2(Lcom/example/m6wmr/DishesActivity2;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u5df2\u6253\u70ca"

    invoke-static {v0, v1, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 324
    :cond_1
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    iget-object v0, v0, Lcom/example/m6wmr/DishesActivity2;->open:Ljava/lang/String;

    const-string v1, "4"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 325
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    # getter for: Lcom/example/m6wmr/DishesActivity2;->list:Landroid/widget/ListView;
    invoke-static {v0}, Lcom/example/m6wmr/DishesActivity2;->access$22(Lcom/example/m6wmr/DishesActivity2;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setVisibility(I)V

    .line 326
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    # getter for: Lcom/example/m6wmr/DishesActivity2;->context:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/DishesActivity2;->access$2(Lcom/example/m6wmr/DishesActivity2;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u5e97\u94fa\u4f11\u606f\u4e2d"

    invoke-static {v0, v1, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 330
    :cond_2
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    new-instance v1, Ldata/PupCarAdapter3;

    iget-object v2, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    iget-object v3, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    # invokes: Lcom/example/m6wmr/DishesActivity2;->getAllGoodsBeanList()Ljava/util/List;
    invoke-static {v3}, Lcom/example/m6wmr/DishesActivity2;->access$23(Lcom/example/m6wmr/DishesActivity2;)Ljava/util/List;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Ldata/PupCarAdapter3;-><init>(Landroid/content/Context;Ljava/util/List;)V

    invoke-static {v0, v1}, Lcom/example/m6wmr/DishesActivity2;->access$24(Lcom/example/m6wmr/DishesActivity2;Ldata/PupCarAdapter3;)V

    .line 331
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    # getter for: Lcom/example/m6wmr/DishesActivity2;->list:Landroid/widget/ListView;
    invoke-static {v0}, Lcom/example/m6wmr/DishesActivity2;->access$22(Lcom/example/m6wmr/DishesActivity2;)Landroid/widget/ListView;

    move-result-object v0

    iget-object v1, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    # getter for: Lcom/example/m6wmr/DishesActivity2;->ca:Ldata/PupCarAdapter3;
    invoke-static {v1}, Lcom/example/m6wmr/DishesActivity2;->access$25(Lcom/example/m6wmr/DishesActivity2;)Ldata/PupCarAdapter3;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 332
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    # getter for: Lcom/example/m6wmr/DishesActivity2;->list:Landroid/widget/ListView;
    invoke-static {v0}, Lcom/example/m6wmr/DishesActivity2;->access$22(Lcom/example/m6wmr/DishesActivity2;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/widget/ListView;->setVisibility(I)V

    .line 334
    sget-object v0, Lcom/example/m6wmr/DishesActivity2;->h:Landroid/os/Handler;

    const/4 v1, 0x1

    const-wide/16 v2, 0x3e8

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    .line 336
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    # getter for: Lcom/example/m6wmr/DishesActivity2;->del:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/example/m6wmr/DishesActivity2;->access$26(Lcom/example/m6wmr/DishesActivity2;)Landroid/widget/TextView;

    move-result-object v0

    new-instance v1, Lcom/example/m6wmr/DishesActivity2$2$1;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/DishesActivity2$2$1;-><init>(Lcom/example/m6wmr/DishesActivity2$2;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 353
    iget-object v0, p0, Lcom/example/m6wmr/DishesActivity2$2;->this$0:Lcom/example/m6wmr/DishesActivity2;

    # getter for: Lcom/example/m6wmr/DishesActivity2;->close:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/example/m6wmr/DishesActivity2;->access$29(Lcom/example/m6wmr/DishesActivity2;)Landroid/widget/TextView;

    move-result-object v0

    new-instance v1, Lcom/example/m6wmr/DishesActivity2$2$2;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/DishesActivity2$2$2;-><init>(Lcom/example/m6wmr/DishesActivity2$2;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto/16 :goto_0
.end method
